package user

import "time"

type CommonPersonalUserToTenantRecordPo struct {
	ID uint32 `gorm:"primary_key"`
	MobilePhone       string                             // 手机号
	TenantCode        string                            // 租户code
	CommonUserDataUid string            // 聚合用户id，common_user_data的uid
	TenantUserUid     string                   // 租户用户id
	CreatedTime       time.Time  `gorm:"default:CURRENT_TIMESTAMP"`   // 创建时间
	ModifiedTime      time.Time   `gorm:"default:CURRENT_TIMESTAMP"`  // 修改时间
}
func (c CommonPersonalUserToTenantRecordPo) TableName() string {
	return "common_personal_user_to_tenant_record"
}
